package com.ks.dao;

import com.ks.base.BaseDao;
import com.ks.entity.PaperStudentQuestion;

import java.util.List;
import java.util.Map;

/**
 * 学生考试试卷表(TLxPaperStudentQuestion)表数据库访问层
 *
 * @author makejava
 * @since 2019-07-18 17:07:35
 */
public interface PaperStudentQuestionDao <T> extends BaseDao<T> {


    List<Map<String, String>> queryQuestionDetails(Object o);

    void updateAnswersByPaperIdAndQuestionId(Object o);

    /**
     * t_lx_paper_student_question , t_ks_question q  有答案
     * @param o
     * @return
     */
    List<Map<String, Object>> queryQuestionDetailAnswers(Object o);

    List<PaperStudentQuestion> queryPaperUserQuestions(Object o);
}